﻿<UserControls:ScrumUserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Controls="clr-namespace:Microsoft.Surface.Presentation.Controls;assembly=Microsoft.Surface.Presentation"
    xmlns:CustomControl1="clr-namespace:ScrumTable.UI.View.CustomControl;assembly=ScrumTable.UI.View" 
    xmlns:Localization="clr-namespace:ScrumTable.UI.View.Localization;assembly=ScrumTable.UI.View" xmlns:UserControl="clr-namespace:ScrumTable.UI.View.Controls;assembly=ScrumTable.UI.View" xmlns:UserControls="clr-namespace:ScrumTable.UI.View.WinTouch.UserControls" xmlns:Converter="clr-namespace:ScrumTable.UI.View.Converter;assembly=ScrumTable.UI.View" xmlns:Interop2="clr-namespace:ScrumTable.UI.View.WinTouch.Win32Interopt"   xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" xmlns:Interop="clr-namespace:ScrumTable.UI.View.WinTouch.Win32Interopt.Interop" x:Class="ScrumTable.UI.View.WinTouch.UserControls.Tool.ReportSelector"	x:Name="UserControl" HorizontalAlignment="Center" VerticalAlignment="Center" MinWidth="1024" Height="600" Background="White">

    <Grid>
        <Grid.Resources>
            <Converter:ConverterIsEmptyString x:Key="CheckStringEmpty"/>
            <Style  TargetType="{x:Type GroupBox}">
                <Setter Property="Margin" Value="10,5,10,5"/>
                <Setter Property="Padding" Value="5"/>
                <Setter Property="BorderThickness" Value="0" />
                <Setter Property="HeaderTemplate">
                    <Setter.Value>
                        <DataTemplate>
                            <TextBlock Text="{Binding}" Foreground="Black" FontWeight="Bold"/>
                        </DataTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
            <Style  TargetType="{x:Type Controls:SurfaceCheckBox }">
                <Setter Property="Margin" Value="0,2,0,2"/>
            </Style>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="300"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid Background="{StaticResource ListBoxBackgroundGrayHorizontal}" Opacity="0.5"></Grid>

        <Controls:SurfaceListBox ItemsSource="{Binding ReportList}"  SelectionChanged="OnSurfaceListBoxSelectionChanged" x:Name="ReportList">
            
        </Controls:SurfaceListBox>



        <Border Grid.Column="1" Grid.Row="1" Background="Black" Name="ReportBorder" SizeChanged="OnReportBorderSizeChanged">
            <Interop:Win32HostRenderer Debug="false"  Width="400" Height="400" x:Name="Renderer">
                <Interop:Win32HostRenderer.ContentControl>
                    <forms:WebBrowser Width="400" Height="400" Url="http://www.google.ch" x:Name="Browser" />
                </Interop:Win32HostRenderer.ContentControl>
        </Interop:Win32HostRenderer>
        </Border>

    </Grid>
</UserControls:ScrumUserControl>    